/**
 * ...
 * @author Thot
 */

 
 
function Main()
{
	this.init();
}

Main.prototype.init = function()
{
	ApplicationFacade.getInstance().init();
	ApplicationFacade.getInstance().sendNotification( ApplicationNotification.START_APP ); 	
};



window.onload = function()
{
	POO.run();
	new Main();
};


window.requestAnimationFrame = (function () {

  return window.requestAnimationFrame || //Chromium 
  window.webkitRequestAnimationFrame || //Webkit
  window.mozRequestAnimationFrame || //Mozilla Geko
  window.oRequestAnimationFrame || //Opera Presto
  window.msRequestAnimationFrame || //IE Trident?

  function (callback, element) { //Fallback function
    window.setTimeout(callback, 1);
  }
 
})();



